#include <REGX52.H>
#include "Delay.h"
#include "Nixie.h"
#include "Key.h"
#include "Buzzer.h"

sbit Buzzer = P1^5;

unsigned char KeyNum;
unsigned int i;

void main(){
    Nixie(1,0);
	while(1){
		KeyNum=Key();
		if(KeyNum){
           Buzzer_Time(80);
            Nixie(1,KeyNum);   
        }	
	}
}
